<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
include_once 'util/session.php';

/**
 * Description of index
 *
 * @author Fellipe
 */
?>
<?php
require_once 'util/cabecalhoAdm.php';

/* * *
 * Níveis:
 * 0 - Root
 * 1 - Administrador do Sistema
 * 2 - Aluno
 */
if (isset($_SESSION['nivel']) && ($_SESSION['nivel'] == 0 || $_SESSION['nivel'] == 1)) {
?>
    <table id="conteudo" width="1024px" class="conteudo">
        <tr>
            <td align="justify"><?php include 'includes/menuEsqAdm.php'; ?></td>
            <td align="center">
            <?php
            require 'includes/usersAdmin.php';
            ?>
        </td>
        <td>Menu lateral direito</td>
    </tr>

</table>
<?php
            require_once 'util/rodapeAdm.php';
        } else {
            header('Location:index.php');
        }
?>